package com.cn.service;


import com.cn.pojo.ShoppingCartItem;
import com.cn.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    User loginUser(User user);
    User searchByUserId(User user);
    User searchMobile(User user);
    int insertUser(User user);
    int editInfo(User user);
    int  searchCartNumbers(ShoppingCartItem cart);
    void updateAddress( User user);
    List<User> findAllUser();
    void logout(int userId);
}
